Skip to content

callback

Request

Security
ApiKeyAuth
Path
idstringrequired
Example:00000000-0000-0000-0000-000000000001
Bodyapplication/x-www-form-urlencoded
session_idstringrequired
attempt_idstringrequired
statusstringrequired
Enum:"success""failure""unknown"
executed_atstring, (date-time)
error_messagestring or null
curl -i -X POST \
  https://llm-api.treasuredata.com/api/agent_schedules/00000000-0000-0000-0000-000000000001/callback \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode session_id=session_123 \
  --data-urlencode attempt_id=attempt_456 \
  --data-urlencode status=failure \
  --data-urlencode executed_at=2026-01-22T02:17:35Z \
  --data-urlencode 'error_message=Something went wrong'

Responses

calls update_workflow_project! when expired on failure too

Response
No content